#! /bin/sh
. ./common.sh

# https://github.com/oh-my-fish/oh-my-fish

if ! command -v fish >/dev/null 2>&1; then
    info "not installed fish, will install it now!"
    si fish
fi

info "install oh-my-fish"
rm -rf ~/oh-my-fish ~/.local/share/omf
git clone https://gitee.com/thinbloog/oh-my-fish.git ~/oh-my-fish
~/oh-my-fish/bin/install --offline
# omf install agnoster
rm -rf ~/oh-my-fish
